package com.esgov.chatbot.entity.chatbot.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Eric Lao
 * @since 2023/3/22 16:01
 */
@Data
@ApiModel("人机对话请求体")
public class ChatRequest {

    @NotBlank(message = "参数sessionId不能为空")
    @ApiModelProperty(value = "人机会话id", required = true)
    private String sessionId;

    @NotBlank(message = "参数question不能为空")
    @ApiModelProperty(value = "问题", required = true)
    private String question;
}
